package com.app.service;


import com.app.model.ComRecruitersModel;
import com.app.model.CustomerModel;
import com.app.model.EnterpriseModel;
import com.app.model.JobFairSceneModel;
import com.app.vo.CustomerListVo;
import com.app.vo.EnterpriseVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @Description: 公司
 * @Author: N
 * @Date: 2022年11月24日10点26分
 */
public interface EnterpriseService {

    int insert(EnterpriseModel model);

    EnterpriseModel findModelById(int id);//根据ID查询企业信息

    void update(EnterpriseModel model);

    List<EnterpriseModel> findAllByName(String comName);

    Page<EnterpriseModel> findAllByNamePage(String comName, Integer page, Integer limit);

    List<EnterpriseModel> findModelByName(String comName);

    Page<EnterpriseModel> findModelAll(EnterpriseModel model);

    List<EnterpriseModel> getListByFair();

    EnterpriseModel findLogoById(int id);

    Page<EnterpriseModel> getModelList(EnterpriseModel model);//后台

    int getModelCount(EnterpriseModel model);//后台

    EnterpriseVo getCompanyList(EnterpriseModel model);

    List<EnterpriseModel> findModelByIds(String[] comIds);


    Integer selectEmployersCount();

    List<EnterpriseModel> selectAll();

    Page<EnterpriseModel> employersList(Integer page, Integer limit);

    List<EnterpriseModel> enterprise(Integer page, Integer limit, Integer streetId);

    List<EnterpriseModel> getComByStreet(String startTime, String endTime);

    List<EnterpriseModel> getComAndStreet(String startTime, String endTime);


    EnterpriseVo getComPageByStreetId(EnterpriseModel model);

    EnterpriseModel getById(int id);

    void updateIdFill(EnterpriseModel model, String content, String password);

    EnterpriseVo getEnjoyEnterpriseList(Integer page, Integer limit, String keyword);

}
